<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <?php include_once MvcReg::$_moduleName . '/views/layout/head.php'; ?>

</head>
<body>
<?php include_once MvcReg::$_moduleName . '/views/layout/header.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/layout/top-nav.php'; ?>
<div id="main">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-2">
                <?php include_once MvcReg::$_moduleName . '/views/layout/left_menu.php'; ?>
            </div>
            <div class="col-md-12">
                <div class="right-content">
                    <h3>
                        <?php echo $menu["breadcrumb_current"] ?>
                    </h3>
                    <br>
                    <form name="mainform" action="" method="get">
                        <?php echo $hidden_data ?>
                        <div class="table-responsive">
                            <div class="panel panel-default">
                                <div class="panel-body form-inline">
                                    <div class="form-group">
                                        <label>联系电话:</label>
                                        <input type="text" name="q_mobile"
                                               value="<?php echo $q_mobile ?>"
                                               class="form-control input-sm" placeholder=""/>
                                    </div>

                                    <div class="form-group">
                                        <label>骑手姓名:</label>
                                        <input type="text" name="q_name"
                                               value="<?php echo $q_name ?>"
                                               class="form-control input-sm" placeholder=""/>
                                    </div>
                                    <button type="submit" class="btn btn-primary"><span
                                                class="glyphicon glyphicon-search"></span>立即查询
                                    </button>
                                </div>
                            </div>
                            <table class="table table-hover">
                                <thead>
                                <tr class="info">
                                    <th>序</th>
                                    <th>骑手姓名</th>
                                    <th>联系电话</th>
                                    <th>运费总金额</th>
                                    <th>功能</th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php
                                $n = 0;
                                if($rsp_list){
                                foreach ($rsp_list as $k => $row) {
                                    $n++;
                                    $item = $n + ($page - 1) * $number_page;
                                    $id = $row["id"];

                                    ?>
                                    <tr data-id="<?php echo $id ?>" id="<?php echo $id ?>">
                                        <td><?php echo $item ?></td>
                                        <td><?php echo $row['express_courier'] ?></td>
                                        <td><?php echo $row['express_mobile'] ?></td>
                                        <td><?php echo $row['fee'] ?></td>

                                        <td>
                                            <button type="button" class="btn btn-primary"  data-toggle="modal" data-target="#check_horse"  onclick="edit('<?php echo $row['express_mobile']; ?>', '<?php echo $page; ?>','<?php echo $this_url?>_check')">查看</button>
                                        </td>
                                    </tr>
                                <?php }
                                }
                                ?>
                                </tbody>
                            </table>
                            <div class="page">
                                <div class="pagination pull-left">共<?php echo $total_count ?>笔记录</div>
                                <?php if (!empty($rsp_page_list)) echo $rsp_page_list; ?>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php include_once MvcReg::$_moduleName . '/views/layout/footer.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_order_setting.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/express_order_cancel.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/dialog/del_order.php'; ?>
<script>

</script>
</body>
</html>
